﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ShoppingCartUserControl.ascx.cs" Inherits="Buy2Site.UserControls.ShoppingCartUserControl" %>
<%@ Register src="ShoppingCartTotalPrice.ascx" tagname="ShoppingCartTotalPrice" tagprefix="uc1" %><%@ Register src="ShoppingCartItem.ascx" tagname="ShoppingCartItem" tagprefix="uc2" %>
<table cellspacing="5" cellpadding="5">
    <tr>
        <td>
            <asp:Label ID="Label2" runat="server" Text="Item Name"></asp:Label>
        </td>
        <td>
            <asp:Label ID="Label3" runat="server" Text="Quantity"></asp:Label>
        </td>
        <td>
            <asp:Label ID="Label4" runat="server" Text="Price"></asp:Label>
        </td>
    </tr>
    <tr>
        <td>
            <hr />
        </td>
        <td>
            <hr />
        </td>
        <td>
            <hr />
        </td>
    </tr>
    <tr>
        <td colspan="3" >            
            <uc2:ShoppingCartItem ID="ShoppingCartItem1" runat="server" />
        </td>
    </tr>
    <tr>
        <td>
            <hr />
        </td>
        <td>
            <hr />
        </td>
        <td>
            <hr />
        </td>
    </tr>
    <tr>
        <td>                       
            <asp:Label ID="Label1" runat="server" Text="Total Price"></asp:Label>
        </td>
        <td >        
            
        </td>
        <td align="right">
            <uc1:ShoppingCartTotalPrice ID="ShoppingCartTotalPrice1" runat="server" />
        </td>
    </tr>
    <tr align="right">
    <td></td>
    <td></td>
        <td>
            <asp:Button ID="btnBuy" runat="server" Text="Buy" onclick="btnBuy_Click" />
        </td>
    </tr>
</table>